﻿using EntityFramework.Entity.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YouTravel.Framework.Enums;

namespace YouTravel.DomainModels
{
    /// <summary>
    /// 保险明细
    /// </summary>
    public class InsurancePerson : EntityBase
    {
        /// <summary>
        /// 保险ID
        /// </summary>
        public int InsuranceID { get; set; }
        /// <summary>
        /// 保险
        /// </summary>
        public virtual Insurance Insurance { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string PolicyHolder { get; set; }
        /// <summary>
        /// 性别
        /// 1-男 2-女
        /// </summary>
        public Gender Sex { get; set; }
        /// <summary>
        /// 证件类型
        /// </summary>
        public string CertificatesType { get; set; }
        /// <summary>
        /// 证件号码
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 联系手机
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 保单金额
        /// </summary>
        public decimal Money { get; set; }
    }
}
